<template>
    <v-banner single-line>
        {{ title }}
      <template v-slot:actions>
        <v-btn text color="#ff6a6a" icon @click="back">
          <v-icon>clear</v-icon>
        </v-btn>
      </template>
    </v-banner>
</template>
<script>
export default {
  name:'HeadBack',
  props:{
    title:String,
  },
  methods:{
    back:function(){
      this.$router.back(-1)
    }
  }
}
</script>

<style>

</style>